package com.game.framework.dao.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document("ActivityPlayerEntity")
@TableName( value ="tf_activity_player" )
public class ActivityPlayerEntity extends BaseEntity<Long> {

    @TableField(value = "activity_id")
    private long activityId;

    @TableField(value = "user_id")
    private long userId;

    @TableField(value = "role_id")
    private long roleId;

    @TableField(value = "fish_type")
    private int fishType;

    @TableField(value = "fish_pole_id")
    private long fishPoleId;

    @TableField(value = "fish_count")
    private int fishCount = 0;

    @TableField(value = "fish_time")
    private Date fishTime;

}

